package com.ze.daoImpl;

import com.ze.dao.UserDao;
import com.ze.model.User;
import org.springframework.stereotype.Repository;


@Repository("userDaoImpl")
public class UserDaoImpl implements UserDao {
    @Override
    public boolean check(User user) {
        return !user.getName().isEmpty();
    }
}
